﻿using Castle.MicroKernel.Registration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
using GN.Pay.GatewayWeb.Controllers.PayRoute;

namespace GN.Pay.GatewayWeb.App_Start
{
    /// <summary>
    /// 
    /// </summary>
    public class WebWindsorInstaller : IWindsorInstaller
    {
        /// <summary>
        /// 安装
        /// </summary>
        /// <param name="container"></param>
        /// <param name="store"></param>
        public void Install(IWindsorContainer container, IConfigurationStore store)
        {
            PayRouteInstaller.Instance.Register(container, store);
        }
    }
}